* installing *source* package ‘cbq’ ... ** this is package ‘cbq’ version ‘0.2.0.4’ ** package ‘cbq’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.0.13.3)’ using C++17 using SDK: ‘MacOSX15.4.sdk’ clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ 7 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqb.cc -o stanExports_cbqb.o In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqb.h:258:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 258 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqb.h:262:37: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 262 | stan::model::rvalue(X, "X", stan::model::index_uni(i), | ^ ./stanExports_cbqb.h:312:20: warning: unused variable 'jacobian__' [-Wunused-variable] 312 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqb.h:350:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 350 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqb.h:157:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 157 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqb.h:188:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 188 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqb.h:390:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 390 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqb.h:505:5: note: in instantiation of function template specialization 'model_cbqb_namespace::model_cbqb::transform_inits_impl, nullptr>' requested here 505 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqb.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqb.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqb.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqb.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqb.cc:5: In file included from ./stanExports_cbqb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 161 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqbv.cc -o stanExports_cbqbv.o In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqbv.h:254:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 254 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqbv.h:259:33: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 259 | stan::model::rvalue(X, "X", stan::model::index_uni(i), | ^ ./stanExports_cbqbv.h:309:20: warning: unused variable 'jacobian__' [-Wunused-variable] 309 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqbv.h:347:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 347 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqbv.h:157:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 157 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqbv.h:188:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 188 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqbv.h:387:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 387 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqbv.h:502:5: note: in instantiation of function template specialization 'model_cbqbv_namespace::model_cbqbv::transform_inits_impl, nullptr>' requested here 502 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqbv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqbv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqbv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqbv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqbv.cc:5: In file included from ./stanExports_cbqbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 161 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqd.cc -o stanExports_cbqd.o In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:177:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 177 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqd.h:436:28: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 436 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqd.h:565:20: warning: unused variable 'jacobian__' [-Wunused-variable] 565 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqd.h:604:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 604 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:224:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 224 | stan::model::assign(res, | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:301:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 301 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:336:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 336 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:381:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 381 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:644:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 644 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqd.h:760:5: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::transform_inits_impl, nullptr>' requested here 760 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqd.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:489:31: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 489 | (stan::model::rvalue(xb_common_g, "xb_common_g", | ^ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:489:31: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 489 | (stan::model::rvalue(xb_common_g, "xb_common_g", | ^ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqd.h:434:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 434 | stan::model::assign(xb_common, | ^ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqd.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqd.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqd.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqd.cc:5: In file included from ./stanExports_cbqd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqd.cc:5: ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 252 | ~model_cbqd() {} | ^ ./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 252 | ~model_cbqd() {} | ^ 182 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqdv.cc -o stanExports_cbqdv.o In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:177:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 177 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqdv.h:436:28: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 436 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqdv.h:565:20: warning: unused variable 'jacobian__' [-Wunused-variable] 565 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqdv.h:604:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 604 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:224:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 224 | stan::model::assign(res, | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:301:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 301 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:336:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 336 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:381:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 381 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:644:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 644 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqdv.h:760:5: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::transform_inits_impl, nullptr>' requested here 760 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqdv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:489:32: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 489 | -(stan::model::rvalue(xb_common_g, "xb_common_g", | ^ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:489:32: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 489 | -(stan::model::rvalue(xb_common_g, "xb_common_g", | ^ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqdv.h:434:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 434 | stan::model::assign(xb_common, | ^ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqdv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqdv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqdv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqdv.cc:5: In file included from ./stanExports_cbqdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqdv.cc:5: ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 738 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 252 | ~model_cbqdv() {} | ^ ./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable] 448 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 743 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 252 | ~model_cbqdv() {} | ^ 182 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqfixb.cc -o stanExports_cbqfixb.o In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:289:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 289 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqfixb.h:293:38: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 293 | stan::model::rvalue(X, "X", | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:298:39: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 298 | stan::model::rvalue(wave, "wave", | ^ ./stanExports_cbqfixb.h:352:20: warning: unused variable 'jacobian__' [-Wunused-variable] 352 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqfixb.h:397:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 397 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:165:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 165 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:196:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 196 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:447:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 447 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqfixb.h:589:5: note: in instantiation of function template specialization 'model_cbqfixb_namespace::model_cbqfixb::transform_inits_impl, nullptr>' requested here 589 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqfixb.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:296:35: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 296 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixb.h:572:12: note: in instantiation of function template specialization 'model_cbqfixb_namespace::model_cbqfixb::log_prob_impl, std::vector, nullptr, nullptr>' requested here 572 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqfixb_namespace::model_cbqfixb::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixb.h:296:35: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 296 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixb.h:572:12: note: in instantiation of function template specialization 'model_cbqfixb_namespace::model_cbqfixb::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 572 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixb_namespace::model_cbqfixb::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqfixb.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqfixb.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqfixb.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqfixb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqfixb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixb.cc:5: In file included from ./stanExports_cbqfixb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqfixb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 164 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqfixbv.cc -o stanExports_cbqfixbv.o In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:289:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 289 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqfixbv.h:294:34: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 294 | stan::model::rvalue(X, "X", stan::model::index_uni(i), | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:298:34: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 298 | stan::model::rvalue(wave, "wave", | ^ ./stanExports_cbqfixbv.h:352:20: warning: unused variable 'jacobian__' [-Wunused-variable] 352 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqfixbv.h:397:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 397 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:165:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 165 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:196:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 196 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:447:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 447 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqfixbv.h:589:5: note: in instantiation of function template specialization 'model_cbqfixbv_namespace::model_cbqfixbv::transform_inits_impl, nullptr>' requested here 589 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqfixbv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:296:30: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 296 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixbv.h:572:12: note: in instantiation of function template specialization 'model_cbqfixbv_namespace::model_cbqfixbv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 572 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqfixbv_namespace::model_cbqfixbv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixbv.h:296:30: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 296 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixbv.h:572:12: note: in instantiation of function template specialization 'model_cbqfixbv_namespace::model_cbqfixbv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 572 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixbv_namespace::model_cbqfixbv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqfixbv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqfixbv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqfixbv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqfixbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqfixbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixbv.cc:5: In file included from ./stanExports_cbqfixbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqfixbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 164 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqfixd.cc -o stanExports_cbqfixd.o In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:185:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 185 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqfixd.h:466:29: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 466 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqfixd.h:606:20: warning: unused variable 'jacobian__' [-Wunused-variable] 606 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqfixd.h:652:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 652 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:233:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 233 | stan::model::assign(res, | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:312:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 312 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:347:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 347 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:402:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 402 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:702:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 702 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqfixd.h:845:5: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::transform_inits_impl, nullptr>' requested here 845 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqfixd.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:469:26: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 469 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:469:26: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 469 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixd.h:464:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 464 | stan::model::assign(xb_common, | ^ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqfixd.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqfixd.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqfixd.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqfixd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqfixd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixd.cc:5: In file included from ./stanExports_cbqfixd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqfixd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixd.cc:5: ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 263 | ~model_cbqfixd() {} | ^ ./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 263 | ~model_cbqfixd() {} | ^ 182 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqfixdv.cc -o stanExports_cbqfixdv.o In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:185:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 185 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqfixdv.h:466:29: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 466 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqfixdv.h:606:20: warning: unused variable 'jacobian__' [-Wunused-variable] 606 | constexpr bool jacobian__ = false; | ^~~~~~~~~~ ./stanExports_cbqfixdv.h:652:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 652 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:233:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 233 | stan::model::assign(res, | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:312:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 312 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:347:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 347 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:402:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 402 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:702:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 702 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqfixdv.h:845:5: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::transform_inits_impl, nullptr>' requested here 845 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqfixdv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:469:26: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 469 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:469:26: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 469 | stan::model::rvalue(beta_wave, "beta_wave", | ^ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqfixdv.h:464:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 464 | stan::model::assign(xb_common, | ^ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqfixdv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqfixdv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqfixdv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqfixdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqfixdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixdv.cc:5: In file included from ./stanExports_cbqfixdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqfixdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqfixdv.cc:5: ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 823 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 263 | ~model_cbqfixdv() {} | ^ ./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable] 482 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 828 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 263 | ~model_cbqfixdv() {} | ^ 182 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqpanelb.cc -o stanExports_cbqpanelb.o In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:330:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 330 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqpanelb.h:334:39: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 334 | stan::model::rvalue(X, "X", | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:339:39: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 339 | stan::model::rvalue(person, "person", | ^ ./stanExports_cbqpanelb.h:458:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 458 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:175:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 175 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:206:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 206 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:525:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 525 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqpanelb.h:702:5: note: in instantiation of function template specialization 'model_cbqpanelb_namespace::model_cbqpanelb::transform_inits_impl, nullptr>' requested here 702 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqpanelb.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:337:35: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 337 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpanelb.h:685:12: note: in instantiation of function template specialization 'model_cbqpanelb_namespace::model_cbqpanelb::log_prob_impl, std::vector, nullptr, nullptr>' requested here 685 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqpanelb_namespace::model_cbqpanelb::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelb.h:337:35: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 337 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpanelb.h:685:12: note: in instantiation of function template specialization 'model_cbqpanelb_namespace::model_cbqpanelb::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 685 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpanelb_namespace::model_cbqpanelb::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqpanelb.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqpanelb.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqpanelb.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqpanelb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqpanelb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpanelb.cc:5: In file included from ./stanExports_cbqpanelb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqpanelb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 163 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqpanelbv.cc -o stanExports_cbqpanelbv.o In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:330:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 330 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqpanelbv.h:335:34: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 335 | stan::model::rvalue(X, "X", stan::model::index_uni(i), | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:339:34: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 339 | stan::model::rvalue(person, "person", | ^ ./stanExports_cbqpanelbv.h:458:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 458 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:175:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 175 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:206:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 206 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:525:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 525 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqpanelbv.h:702:5: note: in instantiation of function template specialization 'model_cbqpanelbv_namespace::model_cbqpanelbv::transform_inits_impl, nullptr>' requested here 702 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqpanelbv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:337:30: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 337 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpanelbv.h:685:12: note: in instantiation of function template specialization 'model_cbqpanelbv_namespace::model_cbqpanelbv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 685 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqpanelbv_namespace::model_cbqpanelbv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpanelbv.h:337:30: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 337 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpanelbv.h:685:12: note: in instantiation of function template specialization 'model_cbqpanelbv_namespace::model_cbqpanelbv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 685 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpanelbv_namespace::model_cbqpanelbv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpanelbv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqpanelbv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqpanelbv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqpanelbv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqpanelbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqpanelbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpanelbv.cc:5: In file included from ./stanExports_cbqpanelbv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqpanelbv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 163 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqpaneld.cc -o stanExports_cbqpaneld.o In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:193:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 193 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqpaneld.h:507:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 507 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqpaneld.h:709:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 709 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:241:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 241 | stan::model::assign(res, | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:322:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 322 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:357:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 357 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:426:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 426 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:776:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 776 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqpaneld.h:954:5: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::transform_inits_impl, nullptr>' requested here 954 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqpaneld.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:510:26: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 510 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:510:26: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 510 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneld.h:505:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 505 | stan::model::assign(xb_common, | ^ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqpaneld.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqpaneld.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqpaneld.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqpaneld.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqpaneld.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpaneld.cc:5: In file included from ./stanExports_cbqpaneld.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqpaneld.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpaneld.cc:5: ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 273 | ~model_cbqpaneld() {} | ^ ./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 273 | ~model_cbqpaneld() {} | ^ 181 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqpaneldv.cc -o stanExports_cbqpaneldv.o In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:193:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 193 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqpaneldv.h:507:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 507 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqpaneldv.h:709:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 709 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:241:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 241 | stan::model::assign(res, | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:322:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 322 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:357:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 357 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:426:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 426 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:776:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 776 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqpaneldv.h:954:5: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::transform_inits_impl, nullptr>' requested here 954 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqpaneldv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:510:26: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 510 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:510:26: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 510 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqpaneldv.h:505:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 505 | stan::model::assign(xb_common, | ^ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqpaneldv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqpaneldv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqpaneldv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqpaneldv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqpaneldv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpaneldv.cc:5: In file included from ./stanExports_cbqpaneldv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqpaneldv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqpaneldv.cc:5: ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 932 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 273 | ~model_cbqpaneldv() {} | ^ ./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable] 527 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 937 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 273 | ~model_cbqpaneldv() {} | ^ 181 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqrandomb.cc -o stanExports_cbqrandomb.o In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:296:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 296 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqrandomb.h:300:38: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 300 | stan::model::rvalue(X, "X", | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:305:39: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 305 | stan::model::rvalue(person, "person", | ^ ./stanExports_cbqrandomb.h:409:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 409 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:166:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 166 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:197:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 197 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:466:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 466 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqrandomb.h:615:5: note: in instantiation of function template specialization 'model_cbqrandomb_namespace::model_cbqrandomb::transform_inits_impl, nullptr>' requested here 615 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqrandomb.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:303:35: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 303 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandomb.h:598:12: note: in instantiation of function template specialization 'model_cbqrandomb_namespace::model_cbqrandomb::log_prob_impl, std::vector, nullptr, nullptr>' requested here 598 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqrandomb_namespace::model_cbqrandomb::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomb.h:303:35: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 303 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandomb.h:598:12: note: in instantiation of function template specialization 'model_cbqrandomb_namespace::model_cbqrandomb::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 598 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomb_namespace::model_cbqrandomb::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomb.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqrandomb.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqrandomb.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqrandomb.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqrandomb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqrandomb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomb.cc:5: In file included from ./stanExports_cbqrandomb.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqrandomb.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 163 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqrandombv.cc -o stanExports_cbqrandombv.o In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:296:30: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr, nullptr>' requested here 296 | stan::model::rvalue(Y, "Y", stan::model::index_uni(i)), 1)) { | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqrandombv.h:301:34: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 301 | stan::model::rvalue(X, "X", stan::model::index_uni(i), | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:305:34: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 305 | stan::model::rvalue(person, "person", | ^ ./stanExports_cbqrandombv.h:409:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 409 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:166:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 166 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:197:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 197 | stan::model::assign(X, X_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:466:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 466 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqrandombv.h:615:5: note: in instantiation of function template specialization 'model_cbqrandombv_namespace::model_cbqrandombv::transform_inits_impl, nullptr>' requested here 615 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqrandombv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:303:30: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 303 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandombv.h:598:12: note: in instantiation of function template specialization 'model_cbqrandombv_namespace::model_cbqrandombv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 598 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqrandombv_namespace::model_cbqrandombv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandombv.h:303:30: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 303 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandombv.h:598:12: note: in instantiation of function template specialization 'model_cbqrandombv_namespace::model_cbqrandombv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 598 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandombv_namespace::model_cbqrandombv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandombv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqrandombv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqrandombv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqrandombv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqrandombv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqrandombv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandombv.cc:5: In file included from ./stanExports_cbqrandombv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqrandombv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ 163 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqrandomd.cc -o stanExports_cbqrandomd.o In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:187:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 187 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqrandomd.h:476:29: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 476 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqrandomd.h:668:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 668 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:235:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 235 | stan::model::assign(res, | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:314:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 314 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:349:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 349 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:404:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 404 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:725:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 725 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqrandomd.h:875:5: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::transform_inits_impl, nullptr>' requested here 875 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqrandomd.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:479:26: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 479 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:479:26: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 479 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomd.h:474:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 474 | stan::model::assign(xb_common, | ^ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqrandomd.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqrandomd.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqrandomd.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqrandomd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqrandomd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomd.cc:5: In file included from ./stanExports_cbqrandomd.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqrandomd.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomd.cc:5: ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 265 | ~model_cbqrandomd() {} | ^ ./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 265 | ~model_cbqrandomd() {} | ^ 181 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I"../inst/include" -I"/Users/ripley/R/Library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/rstan/include' -I'/Users/ripley/R/Library/StanHeaders/include' -isystem /opt/R/arm64/include -I'/Users/ripley/R/Library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c stanExports_cbqrandomdv.cc -o stanExports_cbqrandomdv.o In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 47 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:21: /Users/ripley/R/Library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] 70 | virtual std::streamsize xsputn(const char_type* s, int n) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/streambuf:283:22: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int') 283 | virtual streamsize xsputn(const char_type* __s, streamsize __n); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:22: /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:48:16: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32] 48 | return std::stoull(Rcpp::as(seed)); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_args.hpp:303:26: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 303 | else random_seed = std::time(0); | ~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/meta/seq_view.hpp:145:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 145 | int size() const { return x_.size(); } | ~~~~~~ ~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 57 | struct ops_partials_edge> { | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? 45 | class ops_partials_edge; | ^~~~~ | struct In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Users/ripley/R/Library/BH/include/boost/math/special_functions/binomial.hpp:17: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:71: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_matrix_times_vector.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/csr_u_to_z.hpp:26:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 26 | check_range("csr_u_to_z", "i", u.size(), i + 1, "index out of range"); | ~~~~~~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:131: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:35:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 35 | if (C) { | ~~ ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:139: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:8: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int R = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:220: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_multiply.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:39: warning: implicit conversion turns floating-point number into integer: 'typename internal::traits, member_minCoeff, 0>>::Scalar' (aka 'double') to 'int' [-Wfloat-conversion] 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:289: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:52:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 52 | size_t lo = std::floor(index); | ~~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:53:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 53 | size_t hi = std::ceil(index); | ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:106:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 106 | size_t lo = std::floor(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/quantile.hpp:107:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 107 | size_t hi = std::ceil(index[i]); | ~~ ^~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:354: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:151:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 151 | int x_size = x.size(); | ~~~~~~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:356: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:36:15: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 36 | int C = vec.size(); | ~ ~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:378: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:379: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:31:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 31 | int num_samples() { return num_samples_; } | ~~~~~~ ^~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/finite_diff_gradient.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:13: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:77:32: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 77 | r = choose(dim - c[i], p - (i + 1)); | ~~~~~~ ~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:83:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'int') [-Wshorten-64-to-32] 83 | c[p - 1] = c[p - 2] + x - k; | ~ ~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:104:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 104 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:170:28: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 170 | combination(c, dim, k, i); | ~~~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:374:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 374 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:377:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 377 | kdivide = i; | ~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:466:61: warning: implicit conversion turns floating-point number into integer: 'typename __promote::type' (aka 'double') to 'int' [-Wfloat-conversion] 465 | int numevals | ~~~~~~~~ 466 | = (dim == 1) ? 15 : 1 + 4 * dim + 2 * dim * (dim - 1) + std::pow(2, dim); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:508:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 508 | internal::Box box1(ma, box.b, result_1, err_1, kdivide_1); | ~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:510:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 510 | internal::Box box2(box.a, mb, result_2, err_2, kdivide_2); | ~~~~ ^~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:34: /Users/ripley/R/Library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /Users/ripley/R/Library/BH/include/boost/units/dimension.hpp:21: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/dimension_list.hpp:131: /Users/ripley/R/Library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/linear_algebra.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/unscale.hpp:28: /Users/ripley/R/Library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:20: /Users/ripley/R/Library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:29: In file included from /Users/ripley/R/Library/BH/include/boost/units/conversion.hpp:17: In file included from /Users/ripley/R/Library/BH/include/boost/units/detail/conversion_impl.hpp:21: /Users/ripley/R/Library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:25: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /Users/ripley/R/Library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /Users/ripley/R/Library/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 28 | | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer.hpp:404:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 404 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:45: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:403:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 403 | for( int j=k-1 ; j>0 ; --j ) | ~ ~^~ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:421:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 421 | for( int j=k ; j>1 ; --j ) | ~ ^ /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:548:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 548 | const int j_diffs = j - kappa/2; | ~~~~~~~ ~~^~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:15: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint.hpp:52: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp:34: In file included from /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/adams_bashforth.hpp:39: /Users/ripley/R/Library/BH/include/boost/numeric/odeint/stepper/extrapolation_stepper.hpp:244:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 244 | for ( int j = k - 1; j > 0; --j ) | ~ ~~^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:128: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:97:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 97 | int r = F.cols(); // number of variables | ~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | int n = G.rows(); // number of states | ~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:194: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:79:17: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | int m = Sigma.rows(); | ~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:80:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | int n = D.rows(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:46: /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:21:22: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | int pos = part.find('.'); | ~~~ ~~~~~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:254:58: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 254 | int cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:302:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 302 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:308:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 308 | int right = line.find(" seconds"); | ~~~~~ ~~~~~^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:315:70: warning: implicit conversion loses integer precision: '__iter_diff_t<__wrap_iter>' (aka 'long') to 'int' [-Wshorten-64-to-32] 315 | int current_cols = std::count(line.begin(), line.end(), ',') + 1; | ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:36: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_and.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() && y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:37: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:23: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~ ~~^~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_logical_or.hpp:19:12: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 19 | return x.val() || y.val(); | ~~^~~~~ ~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:48: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core.hpp:47: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/core/operator_unary_not.hpp:17:49: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 17 | inline bool operator!(const var& x) { return !x.val(); } | ~~~^~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:71: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/fmod.hpp:50:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | int d = std::trunc(ad_ / bvi_->val_); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:78: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:47:7: warning: implicit conversion turns floating-point number into integer: 'const value_type' (aka 'const double') to 'bool' [-Wfloat-conversion] 47 | if (value_of_rec(C)) { | ~~ ^~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:103: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/ldexp.hpp:15:44: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 15 | void chain() { avi_->adj_ += ldexp(adj_, bd_); } | ~~~~~ ^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:122: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:10: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:132:61: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 132 | inline int size() const noexcept { return this->operands_.size(); } | ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:231:35: warning: implicit conversion loses integer precision: 'typename __size_type, arena_allocator>>>, long>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 231 | return this->operands_.size() * this->operands_[0].size(); | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:134: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:21:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_first_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_first_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (-ad_ * modified_bessel_first_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:21:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 21 | + modified_bessel_second_kind(ad_ - 1, bvi_->val_)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/modified_bessel_second_kind.hpp:20:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 20 | * (ad_ * modified_bessel_second_kind(ad_, bvi_->val_) / bvi_->val_ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun.hpp:158: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/rising_factorial.hpp:19:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 19 | avi_->adj_ += adj_ * rising_factorial(avi_->val_, bd_) | ~~~~~~~~~~~~~~~~ ^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:6: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/solve_newton.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/kinsol_solve.hpp:69:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int N = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:23:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 23 | CHECK_CVODES_CALL(CVodeSetMaxErrTestFails(cvodes_mem, max_err_test_fails)); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/cvodes_utils.hpp:26:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 26 | CHECK_CVODES_CALL(CVodeSetMaxConvFails(cvodes_mem, max_conv_fails)); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_flag_sundials.hpp:13:46: note: expanded from macro 'CHECK_CVODES_CALL' 13 | #define CHECK_CVODES_CALL(call) cvodes_check(call, #call) | ^~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:26: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/map_rect_concurrent.hpp:71:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 71 | const int num_job_outputs = job.cols(); | ~~~~~~~~~~~~~~~ ~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:31: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_auto.hpp:46:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 46 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:49: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor.hpp:32: /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:53:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 53 | int d = x.size(); | ~ ~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/print_progress.hpp:36:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 36 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:88:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 88 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:100:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 100 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:117:49: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 117 | : mu_(mu), L_chol_(L_chol), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:50: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:11: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:12: /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:48:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 48 | dimension_(dimension) {} | ~^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:60:32: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 60 | dimension_(cont_params.size()) {} | ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:73:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'const int' [-Wshorten-64-to-32] 73 | : mu_(mu), omega_(omega), dimension_(mu.size()) { | ~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/fixed_param_sampler.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/base_mcmc.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/sample.hpp:30:47: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 30 | int size_cont() const { return cont_params_.size(); } | ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/inv_metric.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params); | ~~~~ ^~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:5: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/stepsize_covar_adapter.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:5: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:47:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 47 | adapt_init_buffer_ = 0.15 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/windowed_adaptation.hpp:48:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | adapt_term_buffer_ = 0.10 * num_warmup; | ~ ~~~~~^~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:125:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 125 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:135:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 135 | for (int i = assign_size - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:242:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 242 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:253:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 253 | for (int i = assign_cols - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:324:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 324 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:335:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 335 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:410:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 410 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:420:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 420 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:425:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 425 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:436:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 436 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:438:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 438 | for (int i = assign_rows - 1; i >= 0; --i) { | ~ ~~~~~~~~~~~~^~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign_varmat.hpp:524:28: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 524 | for (int j = assign_cols - 1; j >= 0; --j) { | ~ ~~~~~~~~~~~~^~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_index_size.hpp:24:18: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 24 | return idx.ns_.size(); | ~~~~~~ ~~~~~~~~^~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:714:54: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 714 | math::check_range("array[uni, ...] index", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:187:26: note: in instantiation of function template specialization 'stan::model::rvalue, nullptr>' requested here 187 | stan::model::rvalue(ref, "ref", stan::model::index_uni(ii)), | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:250:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 250 | math::check_range("matrix[uni] indexing", name, x.rows(), idx.n_); | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:583:10: note: in instantiation of function template specialization 'stan::model::rvalue> &, nullptr>' requested here 583 | return rvalue(std::forward(x), name, row_idx); | ^ ./stanExports_cbqrandomdv.h:476:29: note: in instantiation of function template specialization 'stan::model::rvalue> &, stan::model::index_uni, nullptr>' requested here 476 | stan::model::rvalue(X_common, "X_common", | ^ ./stanExports_cbqrandomdv.h:668:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] 668 | int pos__ = std::numeric_limits::min(); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:31:5: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 31 | check_bounded("atanh", "x", x, -1.0, 1.0); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/atanh.hpp:44:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 44 | check_bounded("atanh", "x", x, -1, 1); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:70: note: in instantiation of member function 'stan::math::internal::bounded::check' requested here 80 | internal::bounded::value>::check( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:3: note: in instantiation of function template specialization 'stan::math::check_bounded' requested here 32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:6: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:31:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 31 | if (!(low_vec[n] <= y && y <= high_vec[n])) { | ~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:34:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 34 | msg << "[" << low_vec[n] << ", " << high_vec[n] << "]"; | ~~~~~~~ ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun.hpp:135: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp:136:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 136 | return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/fun/gamma_p.hpp:43:26: note: in instantiation of function template specialization 'stan::math::grad_reg_lower_inc_gamma' requested here 43 | avi_->adj_ += adj_ * grad_reg_lower_inc_gamma(avi_->val_, bvi_->val_); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:50:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 50 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:174:5: note: in instantiation of function template specialization 'stan::math::check_2F1_converges, stan::math::var_value, stan::math::var_value, stan::math::var_value>' requested here 174 | check_2F1_converges("hypergeometric_2F1", a1, a2, b1, z); | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:20: note: in instantiation of function template specialization 'stan::math::internal::grad_2F1_impl, stan::math::var_value, stan::math::var_value, stan::math::var_value, stan::math::var_value, std::tuple, stan::math::var_value, stan::math::var_value, stan::math::var_value>>' requested here 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:4: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:54:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 54 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:58:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 58 | num_terms = floor(fabs(value_of_rec(a1))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:119:3: note: in instantiation of function template specialization 'stan::math::check_3F2_converges' requested here 119 | check_3F2_converges("hypergeometric_3F2", a[0], a[1], a[2], b[0], b[1], z); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:5: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:62:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 62 | num_terms = floor(fabs(value_of_rec(a2))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_3F2_converges.hpp:66:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 66 | num_terms = floor(fabs(value_of_rec(a3))); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:12: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_corr_matrix.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:38:48: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | check_positive(function, name, "rows", y_ref.rows()); | ~~~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:235:22: note: in instantiation of function template specialization 'stan::model::assign &, const int &, nullptr, nullptr>' requested here 235 | stan::model::assign(res, | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:314:24: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr, nullptr>' requested here 314 | stan::model::assign(Y, Y_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:496:65: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 496 | stan::math::check_range("matrix[uni,uni] assign row", name, x.rows(), | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:349:26: note: in instantiation of function template specialization 'stan::model::assign> &, double, nullptr>' requested here 349 | stan::model::assign(X_common, X_common_flat__[(pos__ - 1)], | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:498:68: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 498 | stan::math::check_range("matrix[uni,uni] assign column", name, x.cols(), | ~~~~ ~~^~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:839:60: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 839 | stan::math::check_range("array[uni,...] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:404:22: note: in instantiation of function template specialization 'stan::model::assign &, int, nullptr, nullptr>' requested here 404 | stan::model::assign(n_group, group_size(ind, ii, pstream__), | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:725:24: note: in instantiation of function template specialization 'stan::model::assign &, double, nullptr, nullptr>' requested here 725 | stan::model::assign(beta, beta_flat__[(pos__ - 1)], | ^ ./stanExports_cbqrandomdv.h:875:5: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::transform_inits_impl, nullptr>' requested here 875 | transform_inits_impl(context, vars, pstream__); | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:101:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32] 101 | starts.push_back(starts[i - 1] + calc_num_params(dims[i - 1])); | ~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1035:5: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::calc_starts' requested here 1035 | calc_starts(dims_oi_, starts_oi_); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:214:24: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::stan_fit' requested here 214 | return new Class( as(args[Is])... ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/Module.h:204:20: note: in instantiation of function template specialization 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new_impl<0, 1, 2>' requested here 204 | return get_new_impl(args, nargs, traits::make_index_sequence()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/module/class.h:116:29: note: in instantiation of member function 'Rcpp::Constructor, boost::random::linear_congruential_engine>>, SEXPREC *, SEXPREC *, SEXPREC *>::get_new' requested here 116 | AddConstructor( new Constructor , valid, docstring ) ; | ^ stanExports_cbqrandomdv.cc:12:6: note: in instantiation of function template specialization 'Rcpp::class_, boost::random::linear_congruential_engine>>>::constructor' requested here 12 | .constructor() | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:479:26: note: in instantiation of function template specialization 'stan::model::rvalue &, nullptr, nullptr>' requested here 479 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 129 | log_prob = model.template log_prob(unconstrained, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:137:53: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | math::check_range("vector[uni] indexing", name, v.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:479:26: note: in instantiation of function template specialization 'stan::model::rvalue, -1, 1> &, nullptr, nullptr>' requested here 479 | stan::model::rvalue(beta_ind, "beta_ind", | ^ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:25: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_header.hpp:13: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing.hpp:10: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/indexing/assign.hpp:79:57: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 79 | stan::math::check_range("vector[uni] assign", name, x.size(), idx.n_); | ~~~~ ~~^~~~~~ ./stanExports_cbqrandomdv.h:474:24: note: in instantiation of function template specialization 'stan::model::assign, -1, 1> &, stan::math::var_value, nullptr, nullptr>' requested here 474 | stan::model::assign(xb_common, | ^ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 49 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 40 | var adLogProb = model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here 167 | log_prob = stan::model::log_prob_grad( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here 50 | std::vector cont_vector = util::initialize( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 56 | lp = model.template log_prob(cont_vector, disc_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:55:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 55 | const int row_iter = d * params_r.size(); | ~~~~~~~~ ~~^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:36:28: note: in instantiation of function template specialization 'stan::model::grad_hess_log_prob' requested here 36 | double f0 = stan::model::grad_hess_log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:99:30: note: in instantiation of function template specialization 'stan::optimization::newton_step' requested here 99 | lp = stan::optimization::newton_step(model, cont_vector, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton' requested here 502 | = stan::services::optimize::newton(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:54: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/optimize/newton.hpp:8: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/optimization/newton.hpp:4: /Users/ripley/R/Library/StanHeaders/include/src/stan/model/grad_hess_log_prob.hpp:62:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] 62 | const int col_iter = dd * params_r.size(); | ~~~~~~~~ ~~~^~~~~~~~~~~~~~~~~ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:55: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:11: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/util/generate_transitions.hpp:57:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 57 | int it_print_width = std::ceil(std::log10(static_cast(finish))); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:70:9: note: in instantiation of function template specialization 'stan::services::util::generate_transitions, boost::random::linear_congruential_engine>>' requested here 70 | util::generate_transitions(sampler, num_samples, 0, num_samples, num_thin, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:588:35: note: in instantiation of function template specialization 'stan::services::sample::fixed_param' requested here 588 | = stan::services::sample::fixed_param(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 21 | return model.template log_prob( | ^ /Users/ripley/R/Library/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional::operator()>' requested here 51 | var fx_var = f(x_var); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient>' requested here 27 | stan::math::gradient(model_functional(model, &ss), x, f, grad_f); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient' requested here 63 | stan::model::gradient(model_, z.q, z.V, z.g, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 25 | hamiltonian.update_potential_gradient(z, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts, boost::random::linear_congruential_engine>>::dense_e_nuts' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 74 | stan::mcmc::dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 128 | return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e' requested here 621 | ::hmc_nuts_dense_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:57: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp:21:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:80:60: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_nuts, boost::random::linear_congruential_engine>>::adapt_dense_e_nuts' requested here 80 | stan::mcmc::adapt_dense_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 150 | return hmc_nuts_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:638:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e_adapt' requested here 638 | ::hmc_nuts_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::diag_e_nuts, boost::random::linear_congruential_engine>>::diag_e_nuts' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:73:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 73 | stan::mcmc::diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:126:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 126 | return hmc_nuts_diag_e(model, init, unit_e_metric, random_seed, chain, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:651:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e' requested here 651 | ::hmc_nuts_diag_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:59: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp:21:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:85:59: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_nuts, boost::random::linear_congruential_engine>>::adapt_diag_e_nuts' requested here 85 | stan::mcmc::adapt_diag_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:151:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 151 | return hmc_nuts_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:668:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_diag_e_adapt' requested here 668 | ::hmc_nuts_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:33:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 33 | z_(model.num_params_r()), | ~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:24:9: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::base_hmc' requested here 24 | : base_hmc(model, rng), | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp:20:9: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::base_nuts' requested here 20 | : base_nuts(model, rng) {} | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::unit_e_nuts, boost::random::linear_congruential_engine>>::unit_e_nuts' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:56: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:9: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp:4: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:6: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/base_hmc.hpp:179:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 179 | if (this->epsilon_jitter_) | ~~ ~~~~~~^~~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:80:11: note: in instantiation of member function 'stan::mcmc::base_hmc, boost::random::linear_congruential_engine>>::sample_stepsize' requested here 80 | this->sample_stepsize(); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:53: note: in instantiation of member function 'stan::mcmc::base_nuts, boost::random::linear_congruential_engine>>::transition' requested here 61 | stan::mcmc::unit_e_nuts sampler(model, rng); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:681:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_unit_e' requested here 681 | ::hmc_nuts_unit_e(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:63: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp:22:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_covar_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:81:66: note: in instantiation of member function 'stan::mcmc::adapt_dense_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_dense_e_static_hmc' requested here 81 | stan::mcmc::adapt_dense_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 150 | return hmc_static_dense_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:745:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_dense_e_adapt' requested here 745 | ::hmc_static_dense_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:65: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:9: /Users/ripley/R/Library/StanHeaders/include/src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp:22:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 22 | stepsize_var_adapter(model.num_params_r()) {} | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~~~~~~~~~~~~ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:81:65: note: in instantiation of member function 'stan::mcmc::adapt_diag_e_static_hmc, boost::random::linear_congruential_engine>>::adapt_diag_e_static_hmc' requested here 81 | stan::mcmc::adapt_diag_e_static_hmc sampler(model, | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:150:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 150 | return hmc_static_diag_e_adapt( | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:777:15: note: in instantiation of function template specialization 'stan::services::sample::hmc_static_diag_e_adapt' requested here 777 | ::hmc_static_diag_e_adapt(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~~~~ ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:358:28: note: in instantiation of function template specialization 'stan::math::normal_rng, boost::random::linear_congruential_engine>>' requested here 358 | eta(d) = stan::math::normal_rng(0, 1, rng); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:102:19: note: in instantiation of function template specialization 'stan::variational::normal_fullrank::sample, boost::random::linear_congruential_engine>>' requested here 102 | variational.sample(rng_, zeta); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:183:19: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::calc_ELBO' requested here 183 | elbo_init = calc_ELBO(variational, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:468:13: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::adapt_eta' requested here 468 | eta = adapt_eta(variational, adapt_iterations, logger); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Users/ripley/R/Library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim.hpp:16: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob.hpp:101: In file included from /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9: /Users/ripley/R/Library/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:54:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 54 | rng, normal_distribution<>(mu_vec[n], sigma_vec[n])); | ~~~~~~ ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 514 | log_p = model_.template log_prob(cont_params_, &msg2); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi, boost::random::linear_congruential_engine>>::run' requested here 82 | cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank' requested here 890 | ::fullrank(model, *init_context_ptr, | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:986:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 986 | num_params2_ = names_oi_tidx_.size(); | ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:995:5: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi0' requested here 995 | update_param_oi0(pnames); | ^ stanExports_cbqrandomdv.cc:21:90: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::update_param_oi' requested here 21 | .method("update_param_oi", &rstan::stan_fit ::update_param_oi) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1305:56: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32] 1305 | indexes.push_back(std::vector(1, ts)); | ~~~ ^~ stanExports_cbqrandomdv.cc:22:88: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::param_oi_tidx' requested here 22 | .method("param_oi_tidx", &rstan::stan_fit ::param_oi_tidx) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1313:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 1313 | unsigned int j_size = calc_num_params(dims_oi_[j]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1200:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1200 | int n = model_.num_params_r(); | ~ ~~~~~~~^~~~~~~~~~~~~~ stanExports_cbqrandomdv.cc:27:97: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::num_pars_unconstrained' requested here 27 | .method("num_pars_unconstrained", &rstan::stan_fit ::num_pars_unconstrained) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1242:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1242 | int gq_size = all_names.size() - some_names.size(); | ~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_cbqrandomdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:31: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:219:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 219 | Exporter(SEXP x) : vec(x), d_ncol(1), d_nrow(Rf_xlength(x)) { | ^~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:87:41: note: in instantiation of member function 'Rcpp::traits::Exporter>>::Exporter' requested here 87 | ::Rcpp::traits::Exporter exporter(x); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1233:51: note: in instantiation of function template specialization 'Rcpp::as>>' requested here 1233 | const Eigen::Map draws(Rcpp::as >(pars)); | ^ stanExports_cbqrandomdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomdv.cc:5: In file included from ./stanExports_cbqrandomdv.h:23: In file included from /Users/ripley/R/Library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:68: /Users/ripley/R/Library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:63:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | util::gq_writer writer(sample_writer, logger, p_names.size()); | ~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/rstan/include/rstan/stan_fit.hpp:1253:27: note: in instantiation of function template specialization 'stan::services::standalone_generate' requested here 1253 | ret = stan::services::standalone_generate(model_, draws, | ^ stanExports_cbqrandomdv.cc:30:89: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::standalone_gqs' requested here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^ In file included from stanExports_cbqrandomdv.cc:5: ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 93 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 98 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 109 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 115 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, -1, 1>, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 120 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, Eigen::Matrix, nullptr, nullptr>' requested here 853 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 126 | return static_cast(this)->template log_prob(theta, | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 162 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl>, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob>' requested here 175 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_jacobian' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 182 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto' requested here 265 | ~model_cbqrandomdv() {} | ^ ./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable] 493 | local_scalar_t__ lik4 = DUMMY_VAR__; | ^~~~ ./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl, std::vector, nullptr, nullptr>' requested here 858 | return log_prob_impl(params_r, params_i, pstream); | ^ /Users/ripley/R/Library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob' requested here 195 | return static_cast(this)->template log_prob( | ^ ./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp::log_prob_propto_jacobian' requested here 265 | ~model_cbqrandomdv() {} | ^ 181 warnings generated. clang++ -mmacos-version-min=15 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -o cbq.so RcppExports.o stanExports_cbqb.o stanExports_cbqbv.o stanExports_cbqd.o stanExports_cbqdv.o stanExports_cbqfixb.o stanExports_cbqfixbv.o stanExports_cbqfixd.o stanExports_cbqfixdv.o stanExports_cbqpanelb.o stanExports_cbqpanelbv.o stanExports_cbqpaneld.o stanExports_cbqpaneldv.o stanExports_cbqrandomb.o stanExports_cbqrandombv.o stanExports_cbqrandomd.o stanExports_cbqrandomdv.o -L/Users/ripley/R/Library/RcppParallel/lib -ltbb -ltbbmalloc -L/Users/ripley/R/Library/RcppParallel/lib/ -Wl,-rpath,/Users/ripley/R/Library/RcppParallel/lib/ -ltbb -ltbbmalloc -L/Users/ripley/R/R-devel/lib -lR ld: warning: ignoring duplicate libraries: '-ltbb', '-ltbbmalloc' installing to /Users/ripley/R/packages/tests-devel/cbq.Rcheck/00LOCK-cbq/00new/cbq/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (cbq)