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
brms keeps a whole CmdStanModel in attributes(fit$fit), so a saved brmsfit
carries our object and its absolute paths to whatever machine next opens it.
That case needs nothing new: assessment already reads the filesystem each time
it is asked, and the artifact hash already covers a different executable sitting
at the same path. What would break it is caching the verdict on the object,
which is right within a session and silently wrong after deserialization, so
section 5 now prohibits that while the reason is still visible.
It also records that $exe_file() has to stay a plain, non-erroring accessor.
brms calls file.exists() on its result to decide whether to recompile, and that
is what handles a relocated fit before anything asks us for a verdict.
The release candidate section now names brms alongside instantiate. Its
throwaway compile = FALSE object, built only to call $check_syntax() and
$code(), is exactly the case the standalone family was designed to replace,
which is the best confirmation yet that the family is shaped correctly. We open
those pull requests ourselves, against the candidate, guarded by version since
brms is on CRAN and cmdstanr is not.
0 commit comments