Skip to content

Commit

Permalink
rm unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
roninsightrx committed Jul 5, 2024
1 parent 3802b6f commit 82c079d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/regimen_to_nm.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ regimen_to_nm <- function(
suppressWarnings(
bioav_dose <- as.numeric(bioav[dose_cmt])
)
non_na_biov_dose <- !is.na(bioav_dose)
if(any(is.na(bioav_dose))) {
if(any(is.na(bioav_dose) & reg$t_inf > 0)) { # only warn when it actually concerns an infusion
warning("For compartments where bioavailability is specified as model parameter and not as a number, any infusion rates are not corrected for bioavailability.")
Expand Down

0 comments on commit 82c079d

Please sign in to comment.