Skip to content

Commit 72a6604

Browse files
authored
Merge pull request #4 from LAPKB/reassemble
Reassemble
2 parents fb0ca14 + 566c6e9 commit 72a6604

File tree

6 files changed

+354
-116
lines changed

6 files changed

+354
-116
lines changed

R/PM_model.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ PM_model_list <- R6::R6Class("PM_model_list",
953953
} else {
954954
cli::cli_abort(c("x" = "This function can only be used with the rust backend."))
955955
}
956-
sim
956+
return(sim)
957957
},
958958
#' @description
959959
#' Retrieves the list of model parameters from the compiled version of the model.
@@ -1996,7 +1996,8 @@ plot.PM_model <- function(x, marker = TRUE, line = TRUE, explicit, implicit, ...
19961996
#' This function provides a list of available pharmacokinetic models.
19971997
#' @param name The name of the model to display. If `NULL`, the entire list is displayed.
19981998
#' @param show If `TRUE`, the model is displayed in the console. If `FALSE`, the model is only returned as a tibble.
1999-
#' @return A tibble with the model equations.
1999+
#' @return If `name` is not `NULL`, a tibble with the model equations; otherwise the
2000+
#' function returns `NULL` and only displays the entire library in tabular format.
20002001
#' @author Michael Neely
20012002
#' @seealso [PM_model]
20022003
#' @export

0 commit comments

Comments
 (0)