stan-dev / cmdstanr

CmdStanR: the R interface to CmdStan
https://mc-stan.org/cmdstanr/
Other
144 stars 63 forks source link

Use `$MAKE` if set, otherwise fall back to system specific `make` command #1036

Closed jgabry closed 3 days ago

jgabry commented 1 week ago

Submission Checklist

Summary

closes #1035

Updates the way we select which make command to use:

Uses Sys.getenv("MAKE") if set otherwise uses current logic of selecting system specific make command.

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

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

jgabry commented 1 week ago

@WardBrian, mind taking a quick glance at this when you have a chance? (Not particularly urgent if you're busy, since what we have currently should still work.)

jgabry commented 3 days ago

The failures, as mentioned in #1035, were due to install_cmdstan() needing make before we could check cmdstan_version(). For now, we'll just default to $MAKE if set and otherwise keep the current logic.