Small addition to allow instantiate to build cmdstanr-based packages without install as source #25
stemangiola
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This seems similar to the approach |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions