rstantools
rstantools copied to clipboard
Tools for Developing R Packages Interfacing with Stan
When building ctsem (using rstantools), I'm encountering this all of a sudden -- after some small changes to the stan files, I run rstan_config() and double check that the source...
CmdStanR has `write_stan_json()`. BridgeStan could use that, too. In addition, BridgeStan would benefit from a `to_stan_json()` function that would not write to file, but just return a string. I made...
There are a couple of useful things added since the previous CRAN release that I'd like to get to CRAN. - `loo_epred()` - `loo_pit()` uses randomized PIT for discrete `y`...
@paul-buerkner I'd like to add a generic for `reloo` so we can have `reloo.stanreg` and `reloo.brmsfit` methods. But I see that currently brms takes the first argument of `reloo` to...
As I rely by now on a ton of Stan functions and I do regularly expose these to R... which involves quite often that I have to compile the C++...
@paul-buerkner I think rstanarm and brms should outsource more of their internal helper/utility functions to rstantools. Many are similar and also useful for other developers and it would also simplify...
Details at https://github.com/stan-dev/bayesplot/issues/119
> happens with the rstantools configure script disabled too, and no compilation occurring, fyi. > This is because we're using a less powerful javascript engine (quickjs instead of V8) which...
When running the reverse-dependency checks for `rstan` 2.31 with the `stanc3` branch for [erroring on expired deprecations](https://github.com/stan-dev/stanc3/pull/1287), the majority of dependencies are failing (mostly due to the array syntax). Rather...
I am developing a package with a stan model and using `rstantools` for configuration. On my MacBook, R cannot find `stan/version.hpp` when it tries to compile the package. I think...