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

Fix expose_stan_functions with dryRun #1052

Merged
merged 1 commit into from Mar 20, 2023
Merged

Conversation

andrjohns
Copy link
Contributor

The recent addition of the try-error check to expose_stan_functions has broken the use of the dryRun = TRUE argument, which has in turn broken the installation of packages which expose Stan functions (see this recent rstantools PR workflow run for an example).

This PR simply moves the check to after the early return for the dryRun argument, and adds a test to check that the error is resolved

Copy link
Member

@hsbadr hsbadr left a comment

Choose a reason for hiding this comment

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

LGTM.

@hsbadr hsbadr merged commit 84e4b24 into experimental Mar 20, 2023
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.

None yet

2 participants