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

Document a CmdStan-focused way to pre-compile Stan models in R packages #809

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

wlandau
Copy link
Collaborator

@wlandau wlandau commented Aug 7, 2023

Submission Checklist

  • [n/a] Run unit tests (this PR only modifies a vignette)
  • Declare copyright holder and agree to license (see below)

Summary

As proposed by @jgabry at #738 (comment), this PR documents one way to pre-compile Stan models in a CmdStanR-powered R package. instantiate is still in its early days, and I am not sure how to deal with the compiler issues we will inevitably face going forward (c.f. #787, wlandau/instantiate#1). But there are good reasons to pre-compile Stan models in an R package, and this is a start using the modern CmdStan-based tooling.

Copyright and Licensing

Please list the copyright holder for the work you are submitting
(this will be you or your assignee, such as a university or company):

Eli Lilly and Company

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses:

@wlandau wlandau requested a review from jgabry August 7, 2023 13:54
@wlandau wlandau self-assigned this Aug 7, 2023
Copy link
Member

@jgabry jgabry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@jgabry jgabry merged commit b90c143 into stan-dev:master Aug 8, 2023
@wlandau wlandau deleted the 738-instantiate branch August 9, 2023 19:35
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