- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 65
Expose new stan args #932
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
Expose new stan args #932
Changes from 9 commits
ba768ba
              d05b32d
              c6df0af
              513d09e
              9e266d6
              41afbf1
              695dba6
              6daf429
              a2c4a23
              6b47912
              e90fda4
              c36f280
              39c2f4f
              63a1768
              6d7ee0e
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|  | @@ -1149,6 +1149,8 @@ sample <- function(data = NULL, | |||||||||
| show_messages = TRUE, | ||||||||||
| show_exceptions = TRUE, | ||||||||||
| diagnostics = c("divergences", "treedepth", "ebfmi"), | ||||||||||
| save_metric = TRUE, | ||||||||||
| save_cmdstan_config = TRUE, | ||||||||||
|          | ||||||||||
| save_metric = TRUE, | |
| save_cmdstan_config = TRUE, | |
| save_metric = if (cmdstan_version() > "2.34.0") TRUE else NULL, | |
| save_cmdstan_config = if (cmdstan_version() > "2.34.0") TRUE else NULL, | 
Then the function arguments below would just use the save_metric and save_cmdstan_config values directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the same for the other methods as well (laplace, optimize, etc.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, missed that when I was looking at it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you undo these whitespace changes? There are a few throughout the diff