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

drugs reactive variable is set from the output of two different functions #58

Open
trshafer opened this issue Mar 16, 2020 · 0 comments

Comments

@trshafer
Copy link
Collaborator

The reactive value drugs is set from both of these functions. There should be enforcement that these two functions return the same data types.

stanpumpR/server.R

Lines 248 to 256 in 9fe8753

newDrugs <- recalculatePK(
isolate(drugs()),
drugDefaults(),
age = age(),
weight = weight(),
height = height(),
sex = sex()
)
drugs(newDrugs)

stanpumpR/server.R

Lines 392 to 400 in 9fe8753

newDrugs <- processdoseTable(
DT,
ET,
drugs(),
plotMaximum,
prior,
plotRecovery
)
drugs(newDrugs)

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