Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deprecated syntax for future rstan compatibility #23

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Update deprecated syntax for future rstan compatibility #23

merged 2 commits into from
Sep 13, 2023

Conversation

andrjohns
Copy link
Contributor

Now that rstan 2.26 is available on CRAN we need to update the deprecated syntax in your package's Stan models, otherwise it will fail to install with an upcoming version of RStan.

The following updates have been made:

  • New array syntax
  • integrate_ode_rk45 replaced by ode_rk45

Note that the new ode_rk45 allows for the inputs to be passed directly (instead of packing them into the theta, x_i, x_r structures), but I've only updated your syntax to work with the current structures. For more guidance on using the new ODE interfaces you can see this case study: https://mc-stan.org/users/documentation/case-studies/convert_odes.html

More information about the deprecated and removed syntax in Stan can be found here:

If you could merge and submit to CRAN soon, it would be greatly appreciated.

Let me know if you have any questions about these changes.

Thanks!

@Carlor87 Carlor87 merged commit 7871c73 into bgoussen:master Sep 13, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants