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

Only add Makevars for current platform #109

Merged
merged 2 commits into from Mar 20, 2023
Merged

Only add Makevars for current platform #109

merged 2 commits into from Mar 20, 2023

Conversation

andrjohns
Copy link
Collaborator

rstan_config currently adds both Makevars and Makevars.win on package installation, however this can cause an R CMD CHECK warning on Windows when the unix Makevars has CRLF line endings.

This PR updates the .setup_makevars function to only add the Makevars file relevant to the current platform, rather than both

@andrjohns
Copy link
Collaborator Author

The Stanfunctions failures under 2.26 here will be fixed upstream

@andrjohns
Copy link
Collaborator Author

Upstream fixed and tests passing again

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 0e832b4 into stan-dev:master Mar 20, 2023
6 checks passed
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