Skip to content

add get_cmdstan_args method#1167

Open
avehtari wants to merge 1 commit intomasterfrom
get_cmdstan_args
Open

add get_cmdstan_args method#1167
avehtari wants to merge 1 commit intomasterfrom
get_cmdstan_args

Conversation

@avehtari
Copy link
Copy Markdown
Member

Closes #1133

Finding the CmdStan default arguments for different methods from the documentation is not easy, and many arguments are named differently in CmdStan and in CmdStanR. New model method $get_cmdstan_args() gets the defaults calling CmdStan itself and maps the argument names to those used by CmdStanR,

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):

Aki Vehtari

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

@avehtari avehtari requested a review from jgabry March 29, 2026 12:04
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.09091% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.29%. Comparing base (5809552) to head (7b45182).

Files with missing lines Patch % Lines
R/model.R 99.09% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1167      +/-   ##
==========================================
- Coverage   90.85%   90.29%   -0.56%     
==========================================
  Files          14       14              
  Lines        5924     6027     +103     
==========================================
+ Hits         5382     5442      +60     
- Misses        542      585      +43     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Add function to get the algorithm option defaults

2 participants