Fix #582: Use primarycensored dependency resolution for Stan function loading#593
Conversation
…ding Instead of loading all primarycensored Stan functions, explicitly request primarycensored_lpmf and its ODE/distribution dependencies with dependencies = TRUE. This uses the new automatic dependency resolution added in primarycensored 1.4.0. Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 2 minutes and 43 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
This is entirely from an agent so do not review until I have pinged for review as I will do a first pass
Summary
pcd_load_stan_functions()(loads all functions) with explicitpcd_load_stan_functions(c("primarycensored_lpmf", "primarycensored_ode", "dist_lcdf", "primary_lpdf"), dependencies = TRUE)to use primarycensored's automatic dependency resolutionprimarycensored_lpmfto handle the numerical integration fallback path in Stan (needed for compilation even when only analytical solutions are used at runtime)Test plan
This was opened by a bot. Please ping @seabbs for any questions.