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

Fully delegate canonicalisation to cmdstanr #1396

Merged
merged 3 commits into from
Aug 25, 2022

Conversation

andrjohns
Copy link
Contributor

This PR updates the Stan model canonicalisation process to be fully delegated to cmdstanr, rather than manually calling stanc. This is to allow for compatibility with the new WSL functionality in cmdstanr, (which is unfortunately not currently compatible with brms due to the manual stanc call)

Let me know if I can add any other clarifications/changes here!

Cheers,
Andrew

R/backends.R Outdated Show resolved Hide resolved
@rok-cesnovar
Copy link
Contributor

The changes look good, I would only bump cmdstanr to 0.5.0 as that is the first version with the $format() method.

@andrjohns
Copy link
Contributor Author

The changes look good, I would only bump cmdstanr to 0.5.0 as that is the first version with the $format() method.

Oh good catch, thanks!

@paul-buerkner
Copy link
Owner

Thank you! Is this PR ready to be merged from your side?

@andrjohns
Copy link
Contributor Author

Thank you! Is this PR ready to be merged from your side?

Yep! This is compatible with the current cmdstanr (and the last few versions as well), so it's good to go

@paul-buerkner paul-buerkner merged commit 6006bb0 into paul-buerkner:master Aug 25, 2022
@paul-buerkner
Copy link
Owner

Perfect! Merging now.

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.

3 participants