I am a building a package where I am relying on rstan. Somehow, this is not working on my device. I restarted going through the step by step guide and created the rstanlm package. When I am using roxygen::roxygenize() I get a lot messages regarding Rcpp, BH or RcppEigen: C:/Users/AppData/Local/R/win-library/4.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:498:7: warning: non-standard suffix on floating constant [-Wpedantic] or C:/Users/AppData/Local/R/win-library/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>’
I have no clue why this is coming up. I set up rstan as described on the getting started page. I am using R version 4.5.3 and RTools 45. When running the rstan test model example(stan_model, package = "rstan", run.dontrun = TRUE), everything works fine. Further, I can also compile all models in my package or the lm.stan file, when using stan_model(). Thus, I am unsure about what is working wrong in this case.
Happy for any help.
I am a building a package where I am relying on rstan. Somehow, this is not working on my device. I restarted going through the step by step guide and created the rstanlm package. When I am using roxygen::roxygenize() I get a lot messages regarding Rcpp, BH or RcppEigen: C:/Users/AppData/Local/R/win-library/4.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:498:7: warning: non-standard suffix on floating constant [-Wpedantic] or C:/Users/AppData/Local/R/win-library/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>’
I have no clue why this is coming up. I set up rstan as described on the getting started page. I am using R version 4.5.3 and RTools 45. When running the rstan test model
example(stan_model, package = "rstan", run.dontrun = TRUE), everything works fine. Further, I can also compile all models in my package or thelm.stanfile, when usingstan_model(). Thus, I am unsure about what is working wrong in this case.Happy for any help.