Skip to content

feat: Upgrade to PMcore 0.29 - #388

Closed
Siel wants to merge 1 commit into
mainfrom
issue-385-dose-inputs
Closed

Siel wants to merge 1 commit into
mainfrom
issue-385-dose-inputs

Conversation

@Siel

@Siel Siel commented Sep 15, 2026

Copy link
Copy Markdown
Member

Pins pmcore = "=0.29.0" (pharmsol 0.29.2).

ODE dose inputs and their scales now stay on the derivative RHS instead of being declared as separate routes; analytical models keep explicit routes, lag and fa.

  • R[j]/rateiv[j] and B[j]/bolus[j] may be a standalone additive term or one exact product with a scale, in either operand order.
  • A bolus scale may not depend on state or dose inputs.
  • A PM_model rebuilt from another PM_model renders its DSL from arg_list instead of inheriting a previously rendered string, which could be stale.
  • Regenerated data/*.rda, which the data-currency test requires after any change to the R6 method bodies.

Full testthat suite passes.

Pin pmcore =0.29.0, which brings pharmsol 0.29.2. ODE dose inputs and their
scales now stay on the derivative RHS instead of being declared as separate
routes; analytical models keep explicit routes, lag and fa.

- `R[j]`/`rateiv[j]` and `B[j]`/`bolus[j]` may be a standalone additive term
  or one exact product with a scale, in either operand order.
- A bolus scale may not depend on state or dose inputs.
- A PM_model rebuilt from another PM_model renders its DSL from `arg_list`
  rather than inheriting a previously rendered string, which could be stale.
- Regenerate data/*.rda, which the data-currency test requires after any
  change to the R6 method bodies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant