Allow instantiate to build cmdstanr-based packages without install as source #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prework
Related GitHub issues and pull requests
#25 (reply in thread)
Summary
Hello,
I have prepared a pull request that enables
instantiate
to build cmdstanr-based packages without requiring users to install the package from the source (install.packages(..., type = "source")
). This enhancement allows packages like sccomp (linked below) to be installed and compiled just like any other R package, simplifying the installation process for end-users.https://github.com/MangiolaLaboratory/sccomp/tree/cmdstanr
For example, in the sccomp package, I have implemented the following:
The PR would be very light, from here
https://github.com/stemangiola/instantiate
This would be the only simple change
This is how I am using this edited function
Thanks for considering this PR