* using log directory 'd:/Rcompile/CRANpkg/local/3.6/rstap.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'rstap/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rstap' version '1.0.3' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rstap' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.6/rstap.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'rstap' ... ** package 'rstap' successfully unpacked and MD5 sums checked ** using staged installation ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpKapdnz/R.INSTALL115f843882cca/rstap/src-i386' "D:/RCompile/recent/R-3.6.3/bin/i386/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/stap_bernoulli.stan Wrote C++ file "stan_files/stap_bernoulli.cc" d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++14 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"../inst/include" -I"d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I"d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include" -I"d:/RCompile/CRANpkg/lib/3.6/rstan/include" -I"d:/RCompile/CRANpkg/lib/3.6/BH/include" -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c stan_files/stap_bernoulli.cc -o stan_files/stap_bernoulli.o In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:11:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core.hpp:38, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:99:75: note: #pragma message: CAUTION: One or more C++11 features were found to be unavailable BOOST_PRAGMA_MESSAGE("CAUTION: One or more C++11 features were found to be unavailable") ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:11:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core.hpp:38, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:100:126: note: #pragma message: CAUTION: Compiling Boost.Math in pre-C++11 conformance modes is now deprecated and will be removed from March 2021. BOOST_PRAGMA_MESSAGE("CAUTION: Compiling Boost.Math in pre-C++11 conformance modes is now deprecated and will be removed from March 2021.") ^ d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:101:93: note: #pragma message: CAUTION: Define BOOST_MATH_DISABLE_DEPRECATED_03_WARNING to suppress this message. BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_MATH_DISABLE_DEPRECATED_03_WARNING to suppress this message.") ^ d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:102:96: note: #pragma message: CAUTION: This message was generated due to the define: BOOST_NO_CXX11_THREAD_LOCAL BOOST_PRAGMA_MESSAGE("CAUTION: This message was generated due to the define: " BOOST_MATH_CXX03_WARN_REASON) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat.hpp:278, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp: In function 'stan::return_type_t stan::math::dirichlet_lpmf(const T_prob&, const T_prior_size&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:74: warning: typedef 'using T_partials_vec = struct Eigen::Matrix::type, -1, 1>' locally defined but not used [-Wunused-local-typedefs] using T_partials_vec = typename Eigen::Matrix; ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat.hpp:328, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp: In function 'stan::return_type_t stan::math::poisson_log_glm_lpmf(const T_y&, const T_x&, const T_alpha&, const T_beta&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:55:34: warning: typedef 'using T_alpha_val = std::conditional_t::value, Eigen::Array::type, -1, 1>, typename stan::partials_return_type::type>' locally defined but not used [-Wunused-local-typedefs] partials_return_t>; ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:51:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vv_vari::var_squared_distance(const Eigen::Matrix&, const Eigen::Matrix&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:27:54: warning: typedef 'using idx_t = using type = Eigen::EigenBase >::Index' locally defined but not used [-Wunused-local-typedefs] using idx_t = typename index_type::type; ^ d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vd_vari::var_squared_distance(const Eigen::Matrix&, const Eigen::Matrix&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:64:54: warning: typedef 'using idx_t = using type = Eigen::EigenBase >::Index' locally defined but not used [-Wunused-local-typedefs] using idx_t = typename index_type::type; ^ In file included from stan_files/stap_bernoulli.cc:3:0: stan_files/stap_bernoulli.hpp: In function 'void model_stap_bernoulli_namespace::decov_lp(const Eigen::Matrix&, const Eigen::Matrix&, const Eigen::Matrix&, const Eigen::Matrix&, const Eigen::Matrix&, const std::vector&, const std::vector&, const Eigen::Matrix&, const int&, const std::vector&, T_lp__&, T_lp_accum__&, std::ostream*)': stan_files/stap_bernoulli.hpp:611:30: warning: typedef 'fun_return_scalar_t__' locally defined but not used [-Wunused-local-typedefs] typedef local_scalar_t__ fun_return_scalar_t__; ^ stan_files/stap_bernoulli.hpp: In member function 'virtual void model_stap_bernoulli_namespace::model_stap_bernoulli::transform_inits(const stan::io::var_context&, std::vector&, std::vector&, std::ostream*) const': stan_files/stap_bernoulli.hpp:2969:24: warning: typedef 'local_scalar_t__' locally defined but not used [-Wunused-local-typedefs] typedef double local_scalar_t__; ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:7:0, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:52, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of 'std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = unsigned int]': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:97:75: required from here d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < dims.size(); i++) { ^ d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of 'std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = int]': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:118:75: required from here d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/err/check_cholesky_factor.hpp:7:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat.hpp:9, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/err/check_less_or_equal.hpp: In instantiation of 'static void stan::math::internal::less_or_equal::check(const char*, const char*, const T_y&, const T_high&) [with T_y = unsigned int; T_high = int; bool is_vec = false]': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/err/check_less_or_equal.hpp:65:30: required from 'void stan::math::check_less_or_equal(const char*, const char*, const T_y&, const T_high&) [with T_y = unsigned int; T_high = int]' d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:80:77: required from 'std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = int]' d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:118:75: required from here d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/err/check_less_or_equal.hpp:19:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!(y <= high_vec[n])) { ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core.hpp:46:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_bernoulli.hpp:18, from stan_files/stap_bernoulli.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp: At global scope: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function] static void set_zero_all_adjoints() { ^ "D:/RCompile/recent/R-3.6.3/bin/i386/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/stap_binomial.stan Wrote C++ file "stan_files/stap_binomial.cc" d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++14 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"../inst/include" -I"d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I"d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include" -I"d:/RCompile/CRANpkg/lib/3.6/rstan/include" -I"d:/RCompile/CRANpkg/lib/3.6/BH/include" -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c stan_files/stap_binomial.cc -o stan_files/stap_binomial.o In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:11:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core.hpp:38, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:99:75: note: #pragma message: CAUTION: One or more C++11 features were found to be unavailable BOOST_PRAGMA_MESSAGE("CAUTION: One or more C++11 features were found to be unavailable") ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:11:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core.hpp:38, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:100:126: note: #pragma message: CAUTION: Compiling Boost.Math in pre-C++11 conformance modes is now deprecated and will be removed from March 2021. BOOST_PRAGMA_MESSAGE("CAUTION: Compiling Boost.Math in pre-C++11 conformance modes is now deprecated and will be removed from March 2021.") ^ d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:101:93: note: #pragma message: CAUTION: Define BOOST_MATH_DISABLE_DEPRECATED_03_WARNING to suppress this message. BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_MATH_DISABLE_DEPRECATED_03_WARNING to suppress this message.") ^ d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:102:96: note: #pragma message: CAUTION: This message was generated due to the define: BOOST_NO_CXX11_THREAD_LOCAL BOOST_PRAGMA_MESSAGE("CAUTION: This message was generated due to the define: " BOOST_MATH_CXX03_WARN_REASON) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat.hpp:278, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp: In function 'stan::return_type_t stan::math::dirichlet_lpmf(const T_prob&, const T_prior_size&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:74: warning: typedef 'using T_partials_vec = struct Eigen::Matrix::type, -1, 1>' locally defined but not used [-Wunused-local-typedefs] using T_partials_vec = typename Eigen::Matrix; ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat.hpp:328, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp: In function 'stan::return_type_t stan::math::poisson_log_glm_lpmf(const T_y&, const T_x&, const T_alpha&, const T_beta&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:55:34: warning: typedef 'using T_alpha_val = std::conditional_t::value, Eigen::Array::type, -1, 1>, typename stan::partials_return_type::type>' locally defined but not used [-Wunused-local-typedefs] partials_return_t>; ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:51:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vv_vari::var_squared_distance(const Eigen::Matrix&, const Eigen::Matrix&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:27:54: warning: typedef 'using idx_t = using type = Eigen::EigenBase >::Index' locally defined but not used [-Wunused-local-typedefs] using idx_t = typename index_type::type; ^ d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vd_vari::var_squared_distance(const Eigen::Matrix&, const Eigen::Matrix&)': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:64:54: warning: typedef 'using idx_t = using type = Eigen::EigenBase >::Index' locally defined but not used [-Wunused-local-typedefs] using idx_t = typename index_type::type; ^ In file included from stan_files/stap_binomial.cc:3:0: stan_files/stap_binomial.hpp: In function 'void model_stap_binomial_namespace::decov_lp(const Eigen::Matrix&, const Eigen::Matrix&, const Eigen::Matrix&, const Eigen::Matrix&, const Eigen::Matrix&, const std::vector&, const std::vector&, const Eigen::Matrix&, const int&, const std::vector&, T_lp__&, T_lp_accum__&, std::ostream*)': stan_files/stap_binomial.hpp:639:30: warning: typedef 'fun_return_scalar_t__' locally defined but not used [-Wunused-local-typedefs] typedef local_scalar_t__ fun_return_scalar_t__; ^ stan_files/stap_binomial.hpp: In member function 'virtual void model_stap_binomial_namespace::model_stap_binomial::transform_inits(const stan::io::var_context&, std::vector&, std::vector&, std::ostream*) const': stan_files/stap_binomial.hpp:2709:24: warning: typedef 'local_scalar_t__' locally defined but not used [-Wunused-local-typedefs] typedef double local_scalar_t__; ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:7:0, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:52, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of 'std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = unsigned int]': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:97:75: required from here d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < dims.size(); i++) { ^ d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of 'std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = int]': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:118:75: required from here d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat/err/check_cholesky_factor.hpp:7:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/mat.hpp:9, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/err/check_less_or_equal.hpp: In instantiation of 'static void stan::math::internal::less_or_equal::check(const char*, const char*, const T_y&, const T_high&) [with T_y = unsigned int; T_high = int; bool is_vec = false]': d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/err/check_less_or_equal.hpp:65:30: required from 'void stan::math::check_less_or_equal(const char*, const char*, const T_y&, const T_high&) [with T_y = unsigned int; T_high = int]' d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:80:77: required from 'std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = int]' d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/io/array_var_context.hpp:118:75: required from here d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/prim/scal/err/check_less_or_equal.hpp:19:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!(y <= high_vec[n])) { ^ In file included from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core.hpp:46:0, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/mat.hpp:6, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7, from d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/stan_fit.hpp:35, from d:/RCompile/CRANpkg/lib/3.6/rstan/include/rstan/rstaninc.hpp:4, from stan_files/stap_binomial.hpp:18, from stan_files/stap_binomial.cc:3: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp: At global scope: d:/RCompile/CRANpkg/lib/3.6/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function] static void set_zero_all_adjoints() { ^ "D:/RCompile/recent/R-3.6.3/bin/i386/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/stap_continuous.stan could not find include file in the following directories: stan_files D:/temp/RtmpKapdnz/R.INSTALL115f843882cca/rstap/src-i386 Error in rstan::stanc(file, allow_undefined = TRUE, obfuscate_model_name = FALSE) : failed to parse Stan model 'stap_continuous' due to the above error. Calls: make_cc -> Execution halted make[1]: *** [stan_files/stap_continuous.cc] Error 1 rm stan_files/stap_binomial.cc stan_files/stap_bernoulli.cc make[1]: Leaving directory `/cygdrive/d/temp/RtmpKapdnz/R.INSTALL115f843882cca/rstap/src-i386' ERROR: compilation failed for package 'rstap' * removing 'd:/Rcompile/CRANpkg/lib/3.6/rstap' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.6/rstap'