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

Allow exposing functions without sampling #705

Merged
merged 1 commit into from
Oct 16, 2022
Merged

Allow exposing functions without sampling #705

merged 1 commit into from
Oct 16, 2022

Conversation

andrjohns
Copy link
Collaborator

Submission Checklist

  • Run unit tests
  • Declare copyright holder and agree to license (see below)

Summary

This PR adds the expose_functions() method to the CmdStanModel class so that functions can be exposed to R without fitting any models first

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

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

@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2022

Codecov Report

Merging #705 (37cc98f) into master (cdd62a0) will increase coverage by 1.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #705      +/-   ##
==========================================
+ Coverage   89.48%   90.52%   +1.03%     
==========================================
  Files          12       12              
  Lines        3824     3882      +58     
==========================================
+ Hits         3422     3514      +92     
+ Misses        402      368      -34     
Impacted Files Coverage Δ
R/fit.R 98.15% <100.00%> (-0.06%) ⬇️
R/model.R 91.73% <100.00%> (+1.00%) ⬆️
R/utils.R 86.72% <100.00%> (+1.36%) ⬆️
R/csv.R 97.66% <0.00%> (+0.42%) ⬆️
R/run.R 95.28% <0.00%> (+1.57%) ⬆️
R/install.R 62.70% <0.00%> (+3.96%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@rok-cesnovar rok-cesnovar left a comment

Choose a reason for hiding this comment

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

Thanks a ton!

@andrjohns andrjohns merged commit 39a5c4c into stan-dev:master Oct 16, 2022
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