Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pk_absorption_zo - issue with RATE column requirement #17

Open
SCarter79 opened this issue Mar 25, 2021 · 0 comments
Open

pk_absorption_zo - issue with RATE column requirement #17

SCarter79 opened this issue Mar 25, 2021 · 0 comments

Comments

@SCarter79
Copy link

R 4.0.4, assemblerr version SHA1 8781d19.
If I develop a model with pk_absorption_zo() then the dataset needs appending with the respective RATE column, otherwise NONMEM will not run.

model11 <- pk_model() +
  pk_elimination_linear() +
  pk_distribution_1cmp() +
  pk_absorption_zo() +
  obs_combined(conc ~ C['central']) +
  dataset(here::here('mx19B.csv'))

render(model11,
       options = assemblerr_options(
         default_record.estimation_step = assemblerr:::nm_estimation(method = "0")),
       filename = here::here('run11.mod'))

gives the following error in NONMEM:

 AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.

AN ERROR WAS FOUND ON LINE 11 AT THE APPROXIMATE POSITION NOTED:
 R1 = AMT/MAT/2
   X
  186  ADDITIONAL PK PARAMS R,D NOT VALID WHEN RATE DATA ITEM ABSENT.
NMtran failed. There is no output for model 1. Contents of FMSG:

 AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.

AN ERROR WAS FOUND ON LINE 11 AT THE APPROXIMATE POSITION NOTED:
 R1 = AMT/MAT/2
   X
  186  ADDITIONAL PK PARAMS R,D NOT VALID WHEN RATE DATA ITEM ABSENT.

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

No branches or pull requests

1 participant