You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in developing an internal package containing of compiled versions of models that are frequently used by my colleagues and I, kind of like an in-house version of hBayesDM.
Let's say the package is configured with rstan_create_package(), and installed (from GitHub) on several machines. The package is then updated to add a new model. Will installing the update require that all the existing models, which haven't changed between versions, be recompiled, or can this be avoided?
Thanks.
The text was updated successfully, but these errors were encountered:
Let's say the package is configured with rstan_create_package(), and installed (from GitHub) on several machines. The package is then updated to add a new model. Will installing the update require that all the existing models, which haven't changed between versions, be recompiled, or can this be avoided?
Unfortunately I'm not sure how to avoid that. I'm pretty sure that the functions for installing R packages from GitHub replace the entire package source code every time, so everything would need to get recompiled. In theory I could see it being possible to just replace the changed parts of the package when installing from GitHub but I'm not aware of a tool that does that at the moment. But maybe it exists and I just don't know about it.
Thanks.
I guess the alternative would have to be a wrapper that compiles and saves a model the first time it's used, and loads the compiled version otherwise.
Closing this as it can't be resolved by rstantools - there currently isn't a mechanism for only partially replacing installed R packages when updating/re-installing
Well done on a great tool.
I'm interested in developing an internal package containing of compiled versions of models that are frequently used by my colleagues and I, kind of like an in-house version of hBayesDM.
Let's say the package is configured with
rstan_create_package()
, and installed (from GitHub) on several machines. The package is then updated to add a new model. Will installing the update require that all the existing models, which haven't changed between versions, be recompiled, or can this be avoided?Thanks.
The text was updated successfully, but these errors were encountered: