nlmixr2 / nlmixr2lib

https://nlmixr2.github.io/nlmixr2lib/
5 stars 3 forks source link

Fix fragile `addTransit()` function #83

Closed mattfidler closed 1 month ago

billdenney commented 1 month ago

Can you give an example of its fragility?

mattfidler commented 1 month ago
library(nlmixr2lib)

readModelDb("PK_3cmt_des") |> addTransit(3)
#> Error in str2lang(s): argument must be a character string

Created on 2024-07-18 with reprex v2.1.1

mattfidler commented 1 month ago

Note that some of the argument consistency of #84 is done too